package pl.vanta.mjuzik2.api;

import java.io.File;
import java.util.HashSet;
import java.util.Set;

public class AudioFile
{
	private final File	file;
	private int			rating;
	private String		hash;
	private FileInfo	fileInfo;

	private Set<String>	tags;

	public AudioFile(File file)
	{
		this.file = file;
		this.tags = new HashSet<String>();
	}

	public int getRating()
	{
		return this.rating;
	}

	public void setRating(int rating)
	{
		this.rating = rating;
	}

	public String getHash()
	{
		return this.hash;
	}

	public void setHash(String hash)
	{
		this.hash = hash;
	}

	public FileInfo getFileInfo()
	{
		return this.fileInfo;
	}

	public void setFileInfo(FileInfo fileInfo)
	{
		this.fileInfo = fileInfo;
	}

	public File getFile()
	{
		return this.file;
	}

	public Set<String> getTags()
	{
		return this.tags;
	}

	public void setTags(Set<String> tags)
	{
		this.tags = tags;
	}
}